package com.bjpowerndoe.ylb.common;

public class AppTools {
    public static int defaultPageNo(Integer pageNo){
        return ( pageNo == null  || pageNo < 1 ) ? 1 :pageNo;
    }

    public static int defaultPageSize(Integer pageSize){
        return  ( pageSize == null || pageSize < 1 ) ? 1 :pageSize;
    }


}
